package com.ruixun.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserDemoVo {


    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", example = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String userName;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", example = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", example = "昵称")
    private String nickName;

    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄", example = "1")
    private Integer age;



    /**
     * 状态
     */
    @ApiModelProperty(value = "状态", example = "0")
    private Integer status;

}
